package com.gaotai.wangfei.exam.system.entity;

/**
 * 
 * <p>
 * Description: [爱好的实体类]
 * </p>
 * 
 * @author <a href="mailto: wangfei@gaotai.cn">王飞</a>
 * @version $Revision$
 */
public class Hobby
{
	private Long id;//主键

	private String name;//爱好名称

	//属性相对应的getter和setter
	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	//爱好类的构造函数
	public Hobby()
	{
		super();
	}

	public Hobby(Long id, String name)
	{
		super();
		this.id = id;
		this.name = name;
	}

}
